package www.openteam.com.contract.business;

import www.openteam.com.bean.ApprovalStatu;
import www.openteam.com.bean.DeleteInfo;

/**
 * Created by OT on 2017-10-10.
 */

public class QryCstChildInfoContract {

   public interface MPresenter{
        //更新客户子订单
        void updateInfo(
                int id, String prodno
                , String wraptype, String paperinf
                , String senddate, String technicsinf
                , String printcolor, String paynumb
                , String othernumb, String price
                , String eprodno
        );

        //新建客户子订单
        void insertInfo(
                int id, String prodno
                , String wraptype, String paperinf
                , String senddate, String technicsinf
                , String printcolor, String paynumb
                , String othernumb, String price
        );
        //删除客户子订单
        void deleteInfo(int zbid, String prodno);
    }

   public interface MView{

        void deletSucces(DeleteInfo deleteInfo);//child

        void deletFail(Throwable throwable);//child

        void updateSucces(ApprovalStatu updateStatue);//child

        void updateFail(Throwable throwable);//child

        void insertSucces(ApprovalStatu insertStatus);//child

        void insertFail(Throwable throwable);//child
    }
}
